import React from 'react';

class Header extends React.Component {
    props;
    constructor(props) {
        super(props);
        this.props = props;

    }
    render() {
        const { clickField } = this.props;
        return (
            <div>
                <h3 onClick={e => clickField('轮播图')}>轮播图</h3>
            </div>
        )
    }
}
export default Header